package com.test.kk;

public class Pad{
	public String name;
	 int x;
	Integer i;
	public void m(Pad p,String name){
		p = new Pad();
		p.name = name;
	}
	public Pad(){
		
	}
	public Pad(int y) {
		x = i + y;
		
	}
	public static void main(String[] args) {
		Pad p = new Pad();
		p.name = "a";
		p.m(p, "b");
		System.out.println(p.name);
		Pad p1 = new Pad(new Integer(4));
	}
}
